package edu.zju.gis.dbfg.server.model;

import lombok.Getter;
import lombok.Setter;

import java.util.UUID;

@Getter
@Setter
public class ExternalDataSource {
    private String Id;
    private String dataName;
    private String type;
    private String description;

    private String userid;

    //    private String departments;
//    private int level;
    public ExternalDataSource() {
        this.setId(UUID.randomUUID().toString());
        this.setUserid("");
        this.setDataName("");
        this.setDescription("");
        this.setType("");
    }
    public ExternalDataSource(ExternalDataArgs sourceConnect) {
        this.setType(sourceConnect.getType());
        this.setDataName(sourceConnect.getDataName());
        this.setDescription(sourceConnect.getDescription());
//        this.setUserid(userId);
    }
}
